API Documentation
Taxonomy
- Domains
- Subdomains
- Skill Clusters
- Skills
- Taxonomy operations
Employees
- CRUD
- Skill Profile
- Metrics
- Search
- Skill Events
- Interactions
- Suggestions
Job Families
- CRUD
- Skill Profile
- Job Family Profile Data
Jobs
- CRUD
- Skill Profile
- Job Profile Data
- Metrics
Vacancies
- CRUD
- Skill Profile
- Metrics
- Search
Courses
- CRUD
- Skill Profile
- Metrics
Skill Clusters
- CRUD
- Skill Profile
- Metrics
External Companies
- CRUD
- Search
Skills
- Skill Search
- Skill Gaps
- Skill Lookup
Organisational Structure
- Organisational Units
Custom Properties
- Definitions
- Properties
Matchmaking
- Vacancy Matching
- Course Recommendations
- External Company Matching
- Job Matching
- Job Family Matching
- Match Feedback
Matching Configuration
Export
- Employees
- Job Architecture
- Courses
- Employees Assigned Position
- Taxonomy
- Organisational Structure
Reports
- General Reports
- Employee Reports
- Vacancy Reports
- Job Reports
- Data Maturity Scan
Version
- Version
Search for External Companies based on free text
Search for External Companies
curl --request POST \
--url https://{tenant_name}.{region}.techwolf.ai/companies/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"text": "Bakery",
"location": {
"lat": 51.0216707,
"lng": 3.6887328
},
"filters": [
{
"filter": "max_geo_distance",
"max_geo_distance": 50
},
{
"filter": "custom_property",
"property_name": "direct_manager",
"property_value": "John Doe"
},
{
"filter": "custom_property_is_in_list",
"property_name": "drivers_license",
"possible_values": [
"C",
"CE"
]
},
{
"filter": "custom_property_contains_element",
"property_name": "industries",
"property_value": "electronics"
},
{
"filter": "external_id_is_in_list",
"external_ids": [
"external_id_1",
"external_id_2",
"external_id_3"
]
}
],
"weights": [
{
"weight": "max_geo_distance",
"value": 0.1,
"full_score_distance": 5,
"zero_score_distance": 15
},
{
"weight": "custom_property",
"property_name": "direct_manager",
"property_value": "John Doe",
"operator": "eq",
"value": 0.04
},
{
"weight": "custom_property",
"property_name": "yearly_salary",
"property_value": 45000,
"operator": "gte",
"value": 0.04
}
]
}'
{
"results": [
{
"company_id": "cuid-123",
"score": 0.9,
"matching_vacancies": [
{
"vacancy_id": "a4003805-eb84-42dc-a79f-5e7b1fe897b7",
"score": 0.9,
"job_title": "Business Analyst"
},
{
"vacancy_id": "b4003805-eb84-42dc-a79f-5e7b1fe897b7",
"score": 0.7,
"job_title": "Data Scientist"
}
]
},
{
"company_id": "cuid-456",
"score": 0.8,
"matching_vacancies": [
{
"vacancy_id": "e1d2b367-d899-474f-a3e4-4f926e2bf6d9",
"score": 0.8,
"job_title": "Software Engineer"
},
{
"vacancy_id": "3d21ce18-f599-43e6-9a57-10e13916f1dd",
"score": 0.7,
"job_title": "Data Scientist"
}
]
}
]
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
The maximal number of results returned.
1 < x < 100
The rank offset for returned matches, return matches starting from rank offset up to rank offset+limit.
x > 0
The minimum score of the results. Due to approximations for fast result-delivery, there might be records with a score slightly lower than the minimum.
0 < x < 1
The language of the input text. auto
will automatically detect the language used.
auto
, nl
, fr
, en
, de
Body
Request structure for free text search.
Input text.
Filter out all entities for which the distance is more than the provided max_geo_distance
.
max_geo_distance
The maximal allowed distance (in km, as the crow flies) between a matching Employee & Vacancy.
A geographic location, expressed in latitude and longitude. This can represent a home address, an office location... Each entity is limited to having a single location. To get the latitude and longitude for a given address, you can use the Google Maps Geocoding API or a predefined lookup table (for example by zip code). If location is present in matching or filters, it will act as an override for geo-distance calculations.
The geo distance weight will apply a matching boost to entities withing close proximity of each other. Between the full_score_distance
and zero_score_distance
, the boost value linearly decreases. If the distance is shorter than full_score_distance
, the full boost is applied, while any distance bigger than zero_score_distance
will result in a zero boost.
geo_distance
The distance (in km) to where the boosting is fully applied.
The distance (in km) from where no boosting will be applied.
The weight value to apply.
0 < x < 1
A geographic location, expressed in latitude and longitude. This can represent a home address, an office location... Each entity is limited to having a single location. To get the latitude and longitude for a given address, you can use the Google Maps Geocoding API or a predefined lookup table (for example by zip code). If location is present in matching or filters, it will act as an override for geo-distance calculations.
A geographic location, expressed in latitude and longitude. This can represent a home address, an office location... Each entity is limited to having a single location. To get the latitude and longitude for a given address, you can use the Google Maps Geocoding API or a predefined lookup table (for example by zip code). If location is present in matching or filters, it will act as an override for geo-distance calculations.
Response
List of search results.
The unique ID in your system, consisting of alphanumeric characters, hyphens and underscores.
1 - 100
The matching score between an External Company and the provided text, expressed as a number between 0 and 1.
0 < x < 1
An overview of the match results between the provided text and the most recent open positions for this External Company sorted by match score.
The unique ID in your system, consisting of alphanumeric characters, hyphens and underscores.
1 - 100
The matching score between the provided text and Vacancy, expressed as a number between 0 and 1.
0 < x < 1
Title of the Vacancy.
1
Was this page helpful?
curl --request POST \
--url https://{tenant_name}.{region}.techwolf.ai/companies/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"text": "Bakery",
"location": {
"lat": 51.0216707,
"lng": 3.6887328
},
"filters": [
{
"filter": "max_geo_distance",
"max_geo_distance": 50
},
{
"filter": "custom_property",
"property_name": "direct_manager",
"property_value": "John Doe"
},
{
"filter": "custom_property_is_in_list",
"property_name": "drivers_license",
"possible_values": [
"C",
"CE"
]
},
{
"filter": "custom_property_contains_element",
"property_name": "industries",
"property_value": "electronics"
},
{
"filter": "external_id_is_in_list",
"external_ids": [
"external_id_1",
"external_id_2",
"external_id_3"
]
}
],
"weights": [
{
"weight": "max_geo_distance",
"value": 0.1,
"full_score_distance": 5,
"zero_score_distance": 15
},
{
"weight": "custom_property",
"property_name": "direct_manager",
"property_value": "John Doe",
"operator": "eq",
"value": 0.04
},
{
"weight": "custom_property",
"property_name": "yearly_salary",
"property_value": 45000,
"operator": "gte",
"value": 0.04
}
]
}'
{
"results": [
{
"company_id": "cuid-123",
"score": 0.9,
"matching_vacancies": [
{
"vacancy_id": "a4003805-eb84-42dc-a79f-5e7b1fe897b7",
"score": 0.9,
"job_title": "Business Analyst"
},
{
"vacancy_id": "b4003805-eb84-42dc-a79f-5e7b1fe897b7",
"score": 0.7,
"job_title": "Data Scientist"
}
]
},
{
"company_id": "cuid-456",
"score": 0.8,
"matching_vacancies": [
{
"vacancy_id": "e1d2b367-d899-474f-a3e4-4f926e2bf6d9",
"score": 0.8,
"job_title": "Software Engineer"
},
{
"vacancy_id": "3d21ce18-f599-43e6-9a57-10e13916f1dd",
"score": 0.7,
"job_title": "Data Scientist"
}
]
}
]
}